<%inherits Forum.Web.TemplatePageBase%>
<%namespace System.Collections.Generic%>
<%namespace Forum.Entities%>
<%namespace Public.Common%>
<%set {daohangindex}= int.Parse({request[id]}) %>
<%set {indexID}={daohangindex} %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>{CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name} - {Forum.Web.Admin.Code.WebSite.WebName}</title>
    <meta name="keywords" content="{CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name},{Forum.Web.Admin.Code.WebSite.WebName}">
    <meta name="description" content="{CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name},{Forum.Web.Admin.Code.WebSite.WebName}">
<link href="templates/{templatepath}/style/style.css" rel="stylesheet" type="text/css" />
<link href="templates/{templatepath}/style/page.css" rel="stylesheet" type="text/css" />
<script src="templates/{templatepath}/script/public.js" type="text/javascript"></script>
<script src="templates/{templatepath}/script/HBImage.js" type="text/javascript"></script>
    <link href="style/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%template _daohang%>
    <div class="cl"></div>

        <div class="cl"></div>
    <div id="uhere">
        <span><strong>当前位置：</strong><a href="default.aspx" title="{Forum.Web.Admin.Code.WebSite.WebName}">首页</a> > <a href="Article-{indexID}.aspx" title="{CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name}">{CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name}</a> > 列表</span>
        <!--form action="/" name="formsearch">
      <input type="hidden" name="kwtype" value="1" />
<input type="text" name="keyword" id="keyword" class="keyword" value="" /><input type="image" src="/templets/xuewl/images/btn_search.png" class="btn_search" name="submit" />
</form-->
    </div>
    <div class="wrap">
        <p id="description">
            <strong>摄影简介：</strong></p>
        <div style="width: 940px; margin-bottom: 5px; overflow: hidden">
            <!--iframe name="x" marginwidth="0" framespacing="0" marginheight="0" src=''
                frameborder="0" width="950" height="90" scrolling="no"></iframe-->
        </div>
        <div id="list">
<%set (string) {urlkey}="id"%>
<%set (string) {urlname}="article"%>
<%set {sqlwhere}="(Body_MuLuID="+{indexID}+") and (Body_IsApproved=1) "%>
            <div class="pages">
<%set {Count}=CacheRepository.forum_body.GetCount(sqlwhere)%>
{GetPageHtml(Count,PageSize,PageSize,4)}
            </div>
            <dl>

<%loop (forum_bodyinfo) modellist CacheRepository.forum_body.GetPaged(sqlwhere,string.Empty,Page,20)%>
    <dd>
        <a href="Show-{modellist.Body_ID}.aspx" target="_blank">
        <img onmouseover="hbctl_.ImgOverOut(this,1);" onmouseout="hbctl_.ImgOverOut(this,0);"
            alt="{modellist.Body_Name}" src="{modellist.Body_Tu}" onload="HBImage.RSize(this,120,160)"></a><h2>
                <a title="{modellist.Body_Name}"
                href="Show-{modellist.Body_ID}.aspx"><%getsubstring(modellist.Body_Name,18,"...")%></a></h2>
    </dd>
<%/loop%>
            </dl>
            <div class="pages">
{GetPageHtml(Count,PageSize,PageSize,4)}
            </div>
        </div>
        <div id="sidebar">
            <!--div class="a250">
            </div-->
            <h2>
                {CacheRepository.forum_mulu.GetByMuLuId(indexID).MuLu_Name}推荐</h2>
            <ul>
<%set {sqlwhere}=" (Body_MuLuID="+indexID+") "%>
<%set (IList<forum_bodyinfo>){modelhot1}=CacheRepository.forum_body.GetPaged(sqlwhere,string.Empty,0,10)%>
<%loop (forum_bodyinfo) modelhotmin modelhot1%>
<li><a title="{modelhotmin.Body_Name}" href="Show-{modelhotmin.Body_ID}.aspx" ><%getsubstring(modelhotmin.Body_Name,30,"...")%></a></li>
<%/loop%>
            </ul>
            <div class="a250">

            </div>
        </div>
        <div class="cl"></div>
<%template _links%>
    </div>
<%template _footer%>
</body>
</html>
